//风格样式配置主变量
flstyle = {};

//背景颜色，暂未使用
flstyle.bgcolor = "#fffdde";

//元素风格样式配置
flstyle.elem = {};
//元素风格样式属性配置
flstyle.elem.attrs = {};
/*
//开始事件 风格
flstyle.elem.attrs.start = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientStart)"};
//结束事件 风格
flstyle.elem.attrs.end = {strokeWidth:5, stroke: "#666666", fill:"url(#svgGradientEnd)"};

//任务 风格
flstyle.elem.attrs.process = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientTask)"};
//人工任务 风格
flstyle.elem.attrs.usertask = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientTask)"};
//手工任务 风格
flstyle.elem.attrs.manualtask = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientTask)"};
//服务任务 风格
flstyle.elem.attrs.servicetask = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientTask)"};
//发送任务 风格
flstyle.elem.attrs.sendtask = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientTask)"};
//接收任务 风格
flstyle.elem.attrs.receivetask = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientTask)"};
//脚本任务 风格
flstyle.elem.attrs.scripttask = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientTask)"};
//规则任务 风格
flstyle.elem.attrs.ruletask = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientTask)"};

//相容网关 风格
flstyle.elem.attrs.inclusivegateway = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientGateway)"};
//相容网关图标 风格
flstyle.elem.attrs.inclusivegateway_innerico = {strokeWidth:3, stroke: "#666666", fill:"none"};
//互斥网关 风格
flstyle.elem.attrs.exclusivegateway = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientGateway)"};
//互斥网关图标 风格
flstyle.elem.attrs.exclusivegateway_innerico = {strokeWidth:1, stroke: "#666666", fill:"#2d4ceb"};
//平行网关 风格
flstyle.elem.attrs.parallelgateway = {strokeWidth:1, stroke: "#666666", fill:"url(#svgGradientGateway)"};
//平行网关图标 风格
flstyle.elem.attrs.parallelgateway_innerico = {strokeWidth:1, stroke: "#666666", fill:"#2d4ceb"};
//子流程 风格
flstyle.elem.attrs.subprocess = {strokeWidth:1, stroke: "#666666", fill:"#ffffbf", "opacity":0.8};

//文本注释风格
flstyle.elem.attrs.textannotation = {strokeWidth:1, stroke: "#9fb3a0", fill:"none"};

//泳道 风格
flstyle.elem.attrs.participant = {strokeWidth:1, stroke: "#a3a8a9", fill:"#fafaff", "opacity":0.6};
//泳道内部线风格
flstyle.elem.attrs.participant_innerline = {strokeWidth:1, stroke: "#e0e3e7"};
//泳道标题栏风格
flstyle.elem.attrs.participantlabelrect = {strokeWidth:1, stroke: "#666666", fill: "#e0e3e7"};
//泳道标题栏字体风格
flstyle.elem.attrs.participantlabel = {"style":{"fontWeight":"bold"}};

//泳道分组风格
flstyle.elem.attrs.participantgroup = {strokeWidth:1, stroke: "#666666", fill: "#e0e3e7"};
//泳道分组标题字体风格
flstyle.elem.attrs.participantgrouplabel = {"style":{"fontWeight":"bold"}};

//里程碑风格
flstyle.elem.attrs.milestone = {strokeWidth:1, stroke: "#666666", fill:"#e0e3e7", "opacity":0.8};
//里程碑分割线风格
flstyle.elem.attrs.milestone_splitline = {strokeWidth:1, stroke: "#c1b81a", "class": "milestone-splitline"};
//里程碑标题字体风格
flstyle.elem.attrs.milestone_label = {"style":{"fontWeight":"bold"}};

//里程碑分组风格
flstyle.elem.attrs.milestonegroup = {strokeWidth:1, stroke: "#666666", fill:"#e0e3e7", "opacity":0.8};
//里程碑分组标题字体风格
flstyle.elem.attrs.milestonegroup_label = {"style":{"fontWeight":"bold"}};

//里程碑栏风格
flstyle.elem.attrs.milestonelane = {strokeWidth:1, stroke: "#a3a8a9", fill:"#f2f5f9"};
//里程碑栏内部竖线
flstyle.elem.attrs.milestonelane_innerline = {strokeWidth:1, stroke: "#e5dc44"};
//里程碑栏时间线风格
flstyle.elem.attrs.milestonelane_timesplitline = {strokeWidth:1, stroke: "#000000", "class": "milestone-time-splitline"};
//里程碑栏时间线字体风格
flstyle.elem.attrs.milestonelane_timesplitlinetag = {fill: "#000000", "class": "milestone-time-splitlinetag", "style":"font-size:8px;"};
*/


//预制SVG过滤器
flfilters = {};

//特效
flfilters.effects = {
	"svgFilterShadow" : function(){return Snap.filter.shadow(0, 2, 3);},	//阴影
	"svgFilterBlur" : function(){return Snap.filter.blur();}	//高斯模糊 使用默认的2像素模糊
};

//渐变
flfilters.gradients = {
	//"svgGradientStart" : "r(0.5, 0.5, 0.5)#fff-#77d977",
	"svgGradientStart" : "L(0, 0, 30, 30)#fff-#e0ebff:25-#90b5f7",	//开始事件默认渐变
	//"svgGradientEnd" : "r(0.5, 0.5, 0.9)#fff-#ef1616",
	"svgGradientEnd" : "L(0, 0, 30, 30)#fff-#e0ebff:25-#90b5f7",	//结束事件默认渐变
	"svgGradientTask" : "L(0, 0, 100, 100)#fff-#e0ebff:25-#9cafcd",	//任务默认渐变
	"svgGradientGateway" : "r(0.5, 0.5, 0.5)#f1ffff-#88b2ff"	//网关默认渐变
};

/*flfilters.images = {
"svgFilterImg_start" : {
	"url" : 'flvar.imagepath + "flowcanvas/start.png"'
},
"svgFilterImg_end" : {
	"url" : 'flvar.imagepath + "flowcanvas/end.png"'
},
"svgFilterImg_task" : {
	"url" : 'flvar.imagepath + "flowcanvas/process.png"'
},
"svgFilterImg_gateway" : {
	"url" : 'flvar.imagepath + "flowcanvas/gateway.png"'
}
};*/




